package collector.parsers;

import java.util.HashMap;

import junit.framework.TestCase;

public class StockFinderTest extends TestCase {
	//public void testMARKETS() {
	//	StockFinder stockFinder = new StockFinder("SE", "LargeCap.SE");
	//	HashMap<String,HashMap<String,String>> stocks = stockFinder.getStocks();
	//assertNotNull(stocks);
	//assertTrue("Found "+stocks.size(), stocks.size() > 0);
	//}
	
	public void testNYSE() {
		StockFinder stockFinder = new StockFinder("US", "NYSE");
		HashMap<String,HashMap<String,String>> stocks = stockFinder.getStocks();
		assertNotNull(stocks);
		assertTrue("Found "+stocks.size(), stocks.size() > 0);
	}
}
